import { Moment } from 'moment';

export interface ICheckTask {
    id?: number;
    adminOpenId?: string;
    guestOpenId?: string;
    startTime?: Moment;
    endTime?: Moment;
    statesFlag?: string;
    warningId?: number;
}

export class CheckTask implements ICheckTask {
    constructor(
        public id?: number,
        public adminOpenId?: string,
        public guestOpenId?: string,
        public startTime?: Moment,
        public endTime?: Moment,
        public statesFlag?: string,
        public warningId?: number
    ) {}
}
